package com.edu.spring.ioc.bean;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

@Data
public class Person {
    @Value("#{T(java.util.UUID).randomUUID.toString()}")
    private String id;
    private String name;
    @Value("${person.age}")
    private int age;
    private String gender;
}
